package com.kgc.est.feignService;


import com.kgc.est.request.SendMsgReq;
import com.kgc.est.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>
 * 短信记录 服务类
 * </p>
 *
 * @author szq
 * @since 2021-10-19
 */
@FeignClient(value = "est-provider")
public interface SmsLogService {

    @PostMapping("/sms/send")
    Result sendSms(@RequestBody SendMsgReq sendMsgReq);

}
